package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排班对象 tmd_duty_date_people
 * 
 * @author ruoyi
 * @date 2024-04-20
 */
public class TmdDutyDatePeople extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dutyDate;

    /** 值班人id */
    @Excel(name = "值班人id")
    private Long dutyPersonId;

    @Excel(name = "值班人")
    private String userName;

    /** 排班id */
    @Excel(name = "排班id")
    private Long dutyApplicationId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDutyDate(Date dutyDate) 
    {
        this.dutyDate = dutyDate;
    }

    public Date getDutyDate() 
    {
        return dutyDate;
    }
    public void setDutyPersonId(Long dutyPersonId) 
    {
        this.dutyPersonId = dutyPersonId;
    }

    public Long getDutyPersonId() 
    {
        return dutyPersonId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setDutyApplicationId(Long dutyApplicationId)
    {
        this.dutyApplicationId = dutyApplicationId;
    }

    public Long getDutyApplicationId() 
    {
        return dutyApplicationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dutyDate", getDutyDate())
            .append("dutyPersonId", getDutyPersonId())
            .append("userName", getUserName())
            .append("dutyApplicationId", getDutyApplicationId())
            .toString();
    }
}
